package com.lzhsite.technology.designPattern.command.GeneralDemo;
/**
 * 系统需要将请求调用者和请求接收者解耦，使得调用者和接收者不直接交互。
 * @author lzhcode
 *
 */
public class ClientForGeneralDemo
{
    public static void main(String[] args)
    {
        Receiver receiver = new Receiver();
        Command command = new ConcreteCommand(receiver);
        Invoker invoker = new Invoker();
        invoker.setCommand(command);
    }
}
